package com.HZNU.Dao;

import com.HZNU.spring_api.POJO.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
@Mapper
@Repository
public interface DeptDao {
    int deleteByPrimaryKey(Integer deptno);

    int insert();

    int insertSelective();

    void addDept(Dept dept);
    Dept selectByPrimaryKey(Integer deptno);

    int updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);
}